/*     */ package com.zimbra.cs.util.tnef;
/*     */ 
/*     */ import com.zimbra.common.service.ServiceException;
/*     */ import com.zimbra.common.service.ServiceException.Argument;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class TNEFtoIcalendarServiceException
/*     */   extends ServiceException
/*     */ {
/*     */   private static final long serialVersionUID = -7850038065077241157L;
/*     */   public static final String NON_CALENDARING_CLASS = "tnef2ical.NON_CALENDARING_CLASS";
/*     */   public static final String NON_SOLAR_CALENDAR = "tnef2ical.NON_SOLAR_CALENDAR";
/*     */   public static final String UNSUPPORTED_RECURRENCE_TYPE = "tnef2ical.UNSUPPORTED_RECURRENCE_TYPE";
/*     */   public static final String RRULE_PARSING_PROBLEM = "tnef2ical.RRULE_PARSING_PROBLEM";
/*     */   public static final String RECURDEF_BAD_PATTERN = "tnef2ical.RECURDEF_BAD_PATTERN";
/*     */   public static final String RECURDEF_BAD_FREQ = "tnef2ical.RECURDEF_BAD_FREQ";
/*     */   public static final String RECURDEF_BAD_MSCALSCALE = "tnef2ical.RECURDEF_BAD_MSCALSCALE";
/*     */   public static final String RECURDEF_BAD_ENDTYPE = "tnef2ical.RECURDEF_BAD_ENDTYPE";
/*     */   public static final String RECURDEF_BAD_1ST_DOW = "tnef2ical.RECURDEF_BAD_1ST_DOW";
/*     */   public static final String RECURDEF_BAD_CHANGED_SUBJ = "tnef2ical.RECURDEF_BAD_CHANGED_SUBJ";
/*     */   public static final String RECURDEF_BAD_CHANGED_LOC = "tnef2ical.RECURDEF_BAD_CHANGED_LOC";
/*     */   
/*     */   public static class UnsupportedTnefCalendaringMsgException
/*     */     extends TNEFtoIcalendarServiceException
/*     */   {
/*     */     private static final long serialVersionUID = -3367247762350948868L;
/*     */     
/*     */     UnsupportedTnefCalendaringMsgException(String message, String code, boolean isReceiversFault, Throwable cause, ServiceException.Argument... args)
/*     */     {
/*  52 */       super(code, isReceiversFault, cause, args);
/*     */     }
/*     */     
/*     */     UnsupportedTnefCalendaringMsgException(String message, String code, boolean isReceiversFault, ServiceException.Argument... args) {
/*  56 */       super(code, isReceiversFault, null, args);
/*     */     }
/*     */   }
/*     */   
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   TNEFtoIcalendarServiceException(String message, String code, boolean isReceiversFault, Throwable cause, ServiceException.Argument... args)
/*     */   {
/*  66 */     super(message, code, isReceiversFault, cause, args);
/*     */   }
/*     */   
/*     */ 
/*     */ 
/*     */   TNEFtoIcalendarServiceException(String message, String code, boolean isReceiversFault, ServiceException.Argument... args)
/*     */   {
/*  73 */     super(message, code, isReceiversFault, null, args);
/*     */   }
/*     */   
/*     */   public static TNEFtoIcalendarServiceException RRULE_PARSING_PROBLEM(Throwable cause)
/*     */   {
/*  78 */     return new UnsupportedTnefCalendaringMsgException("Internal error parsing RRULE generated to represent rule in TNEF", "tnef2ical.RRULE_PARSING_PROBLEM", true, cause, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException NON_CALENDARING_CLASS(String msgClass)
/*     */   {
/*  85 */     return new UnsupportedTnefCalendaringMsgException("TNEF represents non-Calendaring (or unrecognised) message class:" + msgClass, "tnef2ical.NON_CALENDARING_CLASS", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException UNSUPPORTED_RECURRENCE_TYPE(String patt)
/*     */   {
/*  91 */     return new UnsupportedTnefCalendaringMsgException("TNEF represents recurrence which uses unsupported pattern:" + patt, "tnef2ical.UNSUPPORTED_RECURRENCE_TYPE", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException NON_SOLAR_CALENDAR()
/*     */   {
/*  97 */     return new UnsupportedTnefCalendaringMsgException("TNEF represents recurrence based on a non-Solar calendar", "tnef2ical.NON_SOLAR_CALENDAR", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_PATTERN(String pattType)
/*     */   {
/* 103 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition contains unexpected PatternType:" + pattType, "tnef2ical.RECURDEF_BAD_PATTERN", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_FREQ(String freqency)
/*     */   {
/* 109 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition contains unexpected frequency:" + freqency, "tnef2ical.RECURDEF_BAD_FREQ", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_MSCALSCALE(String msCalScale)
/*     */   {
/* 115 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition contains unexpected X-MICROSOFT-CALSCALE setting:" + msCalScale, "tnef2ical.RECURDEF_BAD_MSCALSCALE", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_ENDTYPE(String endType)
/*     */   {
/* 121 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition contains bad endtype specification:" + endType, "tnef2ical.RECURDEF_BAD_ENDTYPE", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_1ST_DOW(String dow)
/*     */   {
/* 127 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition contains bad First Day Of Week specification:" + dow, "tnef2ical.RECURDEF_BAD_1ST_DOW", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_CHANGED_SUBJ(String desc)
/*     */   {
/* 133 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition changed subject length info corrupt:" + desc, "tnef2ical.RECURDEF_BAD_CHANGED_SUBJ", true, new ServiceException.Argument[0]);
/*     */   }
/*     */   
/*     */ 
/*     */   public static TNEFtoIcalendarServiceException RECURDEF_BAD_CHANGED_LOC(String desc)
/*     */   {
/* 139 */     return new UnsupportedTnefCalendaringMsgException("TNEF recurrence definition changed location length info corrupt:" + desc, "tnef2ical.RECURDEF_BAD_CHANGED_LOC", true, new ServiceException.Argument[0]);
/*     */   }
/*     */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/util/tnef/TNEFtoIcalendarServiceException.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */